package com.chenfan.ccp.plug.http.util;

import com.alibaba.ttl.TransmittableThreadLocal;

public class ConsumeUtil {
    private static final ThreadLocal paramCache = new TransmittableThreadLocal();

    private ConsumeUtil() {

    }


    public static Object getObj() {
        Object object = paramCache.get();
        return object;
    }

    public static void setObj(Object objects) {
        paramCache.set(objects);

    }

    public static void delObj() {
        paramCache.remove();
    }

}
